﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.Runtime.Serialization;

namespace XbdSoft.Domain
{
    [Table("ArticleClass1")]
    [DataContract]
    public class AudioClass
    {
        [Column("ClassID")]
        [DataMember]
        public int ID { get; set; }

        [Column("ClassName")]
        [DataMember]
        public string Name { get; set; }

        [Column("ParentID")]
        [DataMember]
        public int ParentID { get; set; }

        [Column("OrderID")]
        [DataMember]
        public int OrderID { get; set; }

        [Column("IsElite")]
        [DataMember]
        public bool IsElite { get; set; }

        [Column("Readme")]
        [DataMember]
        public string ReadMe { get; set; }

        [Column("ClassPicUrl")]
        [DataMember]
        public string ClassPicUrl { get; set; }

        [Column("ShowOnTop")]
        [DataMember]
        public bool ShowOnTop { get; set; }
          
    }
}
